// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "D3D10DepthStencilState.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10;

DepthStencilDescription^ DepthStencilState::GetDescription()
{
    D3D10_DEPTH_STENCIL_DESC* tempoutDescription = new D3D10_DEPTH_STENCIL_DESC();
    GetInterface<ID3D10DepthStencilState>()->GetDesc(tempoutDescription);

    return gcnew DepthStencilDescription(tempoutDescription);
}

